Limit query with Number of records